//
//  DXBaseManagerObject.h
//  iDxyer
//
//  Created by sun black on 11-11-18.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WCCoreDataContext.h"

#define kUnableFeed @"内容无法解析，将在新版本支持。$idxyer#"

@interface WCBaseManagerObject : NSManagedObject{
    NSString *richTitle;
    NSString *richBody;
}


@property(nonatomic,readonly,retain) NSString *richTitle;
@property(nonatomic,readonly,retain) NSString *richBody;

+(id)entityFromCoreDataContext;
+(id)entityWithId:(id)aId;

+(NSString *)entityName;

//-(DXTableItem *)transformToTableItem;
+(NSMutableArray *)transformToTableItemsFromEntityArray:(NSArray *)entityArray;

-(void)refreshWithMergeChanges:(BOOL)merge;

-(void)insertIntoCoreDataContext;
-(void)deleteFromCoreDataContext;


@end
